<li>
    <%=name%> 
    <%if(!isAuthenticated) { %>
    <!--    <a href="javascript:openpopup('<%= authorizationUrl%>')">Login</a>-->
    <a href="javascript:openurl('<%=authorizationUrl%>','<%=type%>')">Login</a>
    <%}%>
</li>